package com.sxz.sbs.module.order.adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.sxz.sbs.R;
import com.sxz.sbs.module.order.mode.OrderhandleBean;

import java.util.List;

/**
 * 订单列表适配器
 * @author hp
 */

public class OrderHandleAdapter extends BaseQuickAdapter<OrderhandleBean,BaseViewHolder>{

    public OrderHandleAdapter(@Nullable List<OrderhandleBean> data) {
        super(R.layout.item_orderhandle,data);
    }

    @Override
    protected void convert(BaseViewHolder helper, OrderhandleBean item) {
//        helper.setText(R.id.tv_houses_name,item.getName());
        helper.setImageResource(R.id.iv_all_houses,R.drawable.ic_achievement);
    }
}
